<div id="login-form">
    <form action="<?php echo url_for('user/login'); ?>" method="POST">
    <table>
        <tfoot>
            <tr>
              <td colspan="2">
                  <button type="submit"><?php echo __('sign in'); ?></button>
              </td>
            </tr>
        </tfoot>
        <tbody>
            <?php echo $form; ?>
        </tbody>
    </table>
    </form>
</div>